Optimal. Leaf size=162 \[ -\frac {9 e (b d-a e)^{7/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{b^{11/2}}+\frac {9 e \sqrt {d+e x} (b d-a e)^3}{b^5}+\frac {3 e (d+e x)^{3/2} (b d-a e)^2}{b^4}+\frac {9 e (d+e x)^{5/2} (b d-a e)}{5 b^3}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {9 e (d+e x)^{7/2}}{7 b^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {27, 47, 50, 63, 208} \begin {gather*} \frac {9 e (d+e x)^{5/2} (b d-a e)}{5 b^3}+\frac {3 e (d+e x)^{3/2} (b d-a e)^2}{b^4}+\frac {9 e \sqrt {d+e x} (b d-a e)^3}{b^5}-\frac {9 e (b d-a e)^{7/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{b^{11/2}}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {9 e (d+e x)^{7/2}}{7 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 47
Rule 50
Rule 63
Rule 208
Rubi steps
\begin {align*} \int \frac {(d+e x)^{9/2}}{a^2+2 a b x+b^2 x^2} \, dx &=\int \frac {(d+e x)^{9/2}}{(a+b x)^2} \, dx\\ &=-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {(9 e) \int \frac {(d+e x)^{7/2}}{a+b x} \, dx}{2 b}\\ &=\frac {9 e (d+e x)^{7/2}}{7 b^2}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {(9 e (b d-a e)) \int \frac {(d+e x)^{5/2}}{a+b x} \, dx}{2 b^2}\\ &=\frac {9 e (b d-a e) (d+e x)^{5/2}}{5 b^3}+\frac {9 e (d+e x)^{7/2}}{7 b^2}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {\left (9 e (b d-a e)^2\right ) \int \frac {(d+e x)^{3/2}}{a+b x} \, dx}{2 b^3}\\ &=\frac {3 e (b d-a e)^2 (d+e x)^{3/2}}{b^4}+\frac {9 e (b d-a e) (d+e x)^{5/2}}{5 b^3}+\frac {9 e (d+e x)^{7/2}}{7 b^2}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {\left (9 e (b d-a e)^3\right ) \int \frac {\sqrt {d+e x}}{a+b x} \, dx}{2 b^4}\\ &=\frac {9 e (b d-a e)^3 \sqrt {d+e x}}{b^5}+\frac {3 e (b d-a e)^2 (d+e x)^{3/2}}{b^4}+\frac {9 e (b d-a e) (d+e x)^{5/2}}{5 b^3}+\frac {9 e (d+e x)^{7/2}}{7 b^2}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {\left (9 e (b d-a e)^4\right ) \int \frac {1}{(a+b x) \sqrt {d+e x}} \, dx}{2 b^5}\\ &=\frac {9 e (b d-a e)^3 \sqrt {d+e x}}{b^5}+\frac {3 e (b d-a e)^2 (d+e x)^{3/2}}{b^4}+\frac {9 e (b d-a e) (d+e x)^{5/2}}{5 b^3}+\frac {9 e (d+e x)^{7/2}}{7 b^2}-\frac {(d+e x)^{9/2}}{b (a+b x)}+\frac {\left (9 (b d-a e)^4\right ) \operatorname {Subst}\left (\int \frac {1}{a-\frac {b d}{e}+\frac {b x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{b^5}\\ &=\frac {9 e (b d-a e)^3 \sqrt {d+e x}}{b^5}+\frac {3 e (b d-a e)^2 (d+e x)^{3/2}}{b^4}+\frac {9 e (b d-a e) (d+e x)^{5/2}}{5 b^3}+\frac {9 e (d+e x)^{7/2}}{7 b^2}-\frac {(d+e x)^{9/2}}{b (a+b x)}-\frac {9 e (b d-a e)^{7/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{b^{11/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 50, normalized size = 0.31 \begin {gather*} \frac {2 e (d+e x)^{11/2} \, _2F_1\left (2,\frac {11}{2};\frac {13}{2};-\frac {b (d+e x)}{a e-b d}\right )}{11 (a e-b d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.49, size = 300, normalized size = 1.85 \begin {gather*} \frac {e \sqrt {d+e x} \left (-315 a^4 e^4-210 a^3 b e^3 (d+e x)+1260 a^3 b d e^3-1890 a^2 b^2 d^2 e^2+42 a^2 b^2 e^2 (d+e x)^2+630 a^2 b^2 d e^2 (d+e x)+1260 a b^3 d^3 e-630 a b^3 d^2 e (d+e x)-18 a b^3 e (d+e x)^3-84 a b^3 d e (d+e x)^2-315 b^4 d^4+210 b^4 d^3 (d+e x)+42 b^4 d^2 (d+e x)^2+10 b^4 (d+e x)^4+18 b^4 d (d+e x)^3\right )}{35 b^5 (a e+b (d+e x)-b d)}-\frac {9 e (b d-a e)^4 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x} \sqrt {a e-b d}}{b d-a e}\right )}{b^{11/2} \sqrt {a e-b d}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.43, size = 678, normalized size = 4.19 \begin {gather*} \left [-\frac {315 \, {\left (a b^{3} d^{3} e - 3 \, a^{2} b^{2} d^{2} e^{2} + 3 \, a^{3} b d e^{3} - a^{4} e^{4} + {\left (b^{4} d^{3} e - 3 \, a b^{3} d^{2} e^{2} + 3 \, a^{2} b^{2} d e^{3} - a^{3} b e^{4}\right )} x\right )} \sqrt {\frac {b d - a e}{b}} \log \left (\frac {b e x + 2 \, b d - a e + 2 \, \sqrt {e x + d} b \sqrt {\frac {b d - a e}{b}}}{b x + a}\right ) - 2 \, {\left (10 \, b^{4} e^{4} x^{4} - 35 \, b^{4} d^{4} + 528 \, a b^{3} d^{3} e - 1218 \, a^{2} b^{2} d^{2} e^{2} + 1050 \, a^{3} b d e^{3} - 315 \, a^{4} e^{4} + 2 \, {\left (29 \, b^{4} d e^{3} - 9 \, a b^{3} e^{4}\right )} x^{3} + 6 \, {\left (26 \, b^{4} d^{2} e^{2} - 23 \, a b^{3} d e^{3} + 7 \, a^{2} b^{2} e^{4}\right )} x^{2} + 2 \, {\left (194 \, b^{4} d^{3} e - 426 \, a b^{3} d^{2} e^{2} + 357 \, a^{2} b^{2} d e^{3} - 105 \, a^{3} b e^{4}\right )} x\right )} \sqrt {e x + d}}{70 \, {\left (b^{6} x + a b^{5}\right )}}, -\frac {315 \, {\left (a b^{3} d^{3} e - 3 \, a^{2} b^{2} d^{2} e^{2} + 3 \, a^{3} b d e^{3} - a^{4} e^{4} + {\left (b^{4} d^{3} e - 3 \, a b^{3} d^{2} e^{2} + 3 \, a^{2} b^{2} d e^{3} - a^{3} b e^{4}\right )} x\right )} \sqrt {-\frac {b d - a e}{b}} \arctan \left (-\frac {\sqrt {e x + d} b \sqrt {-\frac {b d - a e}{b}}}{b d - a e}\right ) - {\left (10 \, b^{4} e^{4} x^{4} - 35 \, b^{4} d^{4} + 528 \, a b^{3} d^{3} e - 1218 \, a^{2} b^{2} d^{2} e^{2} + 1050 \, a^{3} b d e^{3} - 315 \, a^{4} e^{4} + 2 \, {\left (29 \, b^{4} d e^{3} - 9 \, a b^{3} e^{4}\right )} x^{3} + 6 \, {\left (26 \, b^{4} d^{2} e^{2} - 23 \, a b^{3} d e^{3} + 7 \, a^{2} b^{2} e^{4}\right )} x^{2} + 2 \, {\left (194 \, b^{4} d^{3} e - 426 \, a b^{3} d^{2} e^{2} + 357 \, a^{2} b^{2} d e^{3} - 105 \, a^{3} b e^{4}\right )} x\right )} \sqrt {e x + d}}{35 \, {\left (b^{6} x + a b^{5}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.20, size = 387, normalized size = 2.39 \begin {gather*} \frac {9 \, {\left (b^{4} d^{4} e - 4 \, a b^{3} d^{3} e^{2} + 6 \, a^{2} b^{2} d^{2} e^{3} - 4 \, a^{3} b d e^{4} + a^{4} e^{5}\right )} \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right )}{\sqrt {-b^{2} d + a b e} b^{5}} - \frac {\sqrt {x e + d} b^{4} d^{4} e - 4 \, \sqrt {x e + d} a b^{3} d^{3} e^{2} + 6 \, \sqrt {x e + d} a^{2} b^{2} d^{2} e^{3} - 4 \, \sqrt {x e + d} a^{3} b d e^{4} + \sqrt {x e + d} a^{4} e^{5}}{{\left ({\left (x e + d\right )} b - b d + a e\right )} b^{5}} + \frac {2 \, {\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} b^{12} e + 14 \, {\left (x e + d\right )}^{\frac {5}{2}} b^{12} d e + 35 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{12} d^{2} e + 140 \, \sqrt {x e + d} b^{12} d^{3} e - 14 \, {\left (x e + d\right )}^{\frac {5}{2}} a b^{11} e^{2} - 70 \, {\left (x e + d\right )}^{\frac {3}{2}} a b^{11} d e^{2} - 420 \, \sqrt {x e + d} a b^{11} d^{2} e^{2} + 35 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{2} b^{10} e^{3} + 420 \, \sqrt {x e + d} a^{2} b^{10} d e^{3} - 140 \, \sqrt {x e + d} a^{3} b^{9} e^{4}\right )}}{35 \, b^{14}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.09, size = 539, normalized size = 3.33 \begin {gather*} \frac {9 a^{4} e^{5} \arctan \left (\frac {\sqrt {e x +d}\, b}{\sqrt {\left (a e -b d \right ) b}}\right )}{\sqrt {\left (a e -b d \right ) b}\, b^{5}}-\frac {36 a^{3} d \,e^{4} \arctan \left (\frac {\sqrt {e x +d}\, b}{\sqrt {\left (a e -b d \right ) b}}\right )}{\sqrt {\left (a e -b d \right ) b}\, b^{4}}+\frac {54 a^{2} d^{2} e^{3} \arctan \left (\frac {\sqrt {e x +d}\, b}{\sqrt {\left (a e -b d \right ) b}}\right )}{\sqrt {\left (a e -b d \right ) b}\, b^{3}}-\frac {36 a \,d^{3} e^{2} \arctan \left (\frac {\sqrt {e x +d}\, b}{\sqrt {\left (a e -b d \right ) b}}\right )}{\sqrt {\left (a e -b d \right ) b}\, b^{2}}+\frac {9 d^{4} e \arctan \left (\frac {\sqrt {e x +d}\, b}{\sqrt {\left (a e -b d \right ) b}}\right )}{\sqrt {\left (a e -b d \right ) b}\, b}-\frac {\sqrt {e x +d}\, a^{4} e^{5}}{\left (b e x +a e \right ) b^{5}}+\frac {4 \sqrt {e x +d}\, a^{3} d \,e^{4}}{\left (b e x +a e \right ) b^{4}}-\frac {6 \sqrt {e x +d}\, a^{2} d^{2} e^{3}}{\left (b e x +a e \right ) b^{3}}+\frac {4 \sqrt {e x +d}\, a \,d^{3} e^{2}}{\left (b e x +a e \right ) b^{2}}-\frac {\sqrt {e x +d}\, d^{4} e}{\left (b e x +a e \right ) b}-\frac {8 \sqrt {e x +d}\, a^{3} e^{4}}{b^{5}}+\frac {24 \sqrt {e x +d}\, a^{2} d \,e^{3}}{b^{4}}-\frac {24 \sqrt {e x +d}\, a \,d^{2} e^{2}}{b^{3}}+\frac {8 \sqrt {e x +d}\, d^{3} e}{b^{2}}+\frac {2 \left (e x +d \right )^{\frac {3}{2}} a^{2} e^{3}}{b^{4}}-\frac {4 \left (e x +d \right )^{\frac {3}{2}} a d \,e^{2}}{b^{3}}+\frac {2 \left (e x +d \right )^{\frac {3}{2}} d^{2} e}{b^{2}}-\frac {4 \left (e x +d \right )^{\frac {5}{2}} a \,e^{2}}{5 b^{3}}+\frac {4 \left (e x +d \right )^{\frac {5}{2}} d e}{5 b^{2}}+\frac {2 \left (e x +d \right )^{\frac {7}{2}} e}{7 b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.61, size = 352, normalized size = 2.17 \begin {gather*} \left (\frac {\left (\frac {2\,e\,{\left (2\,b^2\,d-2\,a\,b\,e\right )}^2}{b^6}-\frac {2\,e\,{\left (a\,e-b\,d\right )}^2}{b^4}\right )\,\left (2\,b^2\,d-2\,a\,b\,e\right )}{b^2}-\frac {2\,e\,\left (2\,b^2\,d-2\,a\,b\,e\right )\,{\left (a\,e-b\,d\right )}^2}{b^6}\right )\,\sqrt {d+e\,x}+\left (\frac {2\,e\,{\left (2\,b^2\,d-2\,a\,b\,e\right )}^2}{3\,b^6}-\frac {2\,e\,{\left (a\,e-b\,d\right )}^2}{3\,b^4}\right )\,{\left (d+e\,x\right )}^{3/2}-\frac {\sqrt {d+e\,x}\,\left (a^4\,e^5-4\,a^3\,b\,d\,e^4+6\,a^2\,b^2\,d^2\,e^3-4\,a\,b^3\,d^3\,e^2+b^4\,d^4\,e\right )}{b^6\,\left (d+e\,x\right )-b^6\,d+a\,b^5\,e}+\frac {2\,e\,{\left (d+e\,x\right )}^{7/2}}{7\,b^2}+\frac {2\,e\,\left (2\,b^2\,d-2\,a\,b\,e\right )\,{\left (d+e\,x\right )}^{5/2}}{5\,b^4}+\frac {9\,e\,\mathrm {atan}\left (\frac {\sqrt {b}\,e\,{\left (a\,e-b\,d\right )}^{7/2}\,\sqrt {d+e\,x}}{a^4\,e^5-4\,a^3\,b\,d\,e^4+6\,a^2\,b^2\,d^2\,e^3-4\,a\,b^3\,d^3\,e^2+b^4\,d^4\,e}\right )\,{\left (a\,e-b\,d\right )}^{7/2}}{b^{11/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________